package com.shisfish.library.Inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shisfish.core.Inter.IModelInter;
import com.shisfish.library.Model.Purchase;

public interface IPurchaseInter extends IModelInter<Purchase> {

	int countBySerial(@Param("serial") String serail);

	int countByType(@Param("type") int type, @Param("supplier") String supplier);

	List<Purchase> selectByTypePage(@Param("type") int type, @Param("supplier") String supplier, @Param("currentPage") int currentPage, @Param("pageSize") int pageSize);

}
